<?php

return [
    // 数据库地址列表
    'db' => [
        '127.0.0.1:3306'
    ],
    // mysql配置 主主(权重)->主从(权重)
    'model' => [
        'open' => false,
        'master' => '127.0.0.1:3306',
        'slave' => [
            '127.0.0.1:3306' => 1,
            '127.0.0.1:3306' => 2,
        ],
        'dbn' => 'xmlyx',
        'dth' => 'yqy_'
    ],
    'link' => [
        '127.0.0.1:3306' => [
            'du' => 'root',
            'dp' => 'root',
            'dbn' => 'xmlyx',
            'dth' => 'yqy_'
        ],
    ]
];